package com.bootdo.clouddoadmin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableFeignClients(basePackages = {"com.bootdo"})
@EnableCaching
@EnableEurekaClient
@EnableScheduling
@MapperScan("com.bootdo.*.dao")
@SpringBootApplication(exclude = {org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class }, scanBasePackages = {"com.bootdo.clouddoadmin", "com.bootdo.clouddocommon"})
public class ClouddoAdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(ClouddoAdminApplication.class, args);
    }

}
